#ifndef __ICMP_H
#define __ICMP_H
#include "common.h"
void icmp_echo_request(struct rte_mbuf * mbuf, struct inout_ring * ring, struct rte_mempool * pool);
int encode_icmp_pkt(uint8_t * msg, uint8_t * dst_mac, uint32_t sip, uint32_t dip, uint16_t id, uint16_t seqnb);
void encode_icmp_replay_hdr_pkt(uint8_t * msg, uint16_t id, uint16_t seqnb);
#endif
